package com.taoym.voucher.admin.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @coder taoym
 * @datetime 2021/6/29 11:31
 * @desc
 */
@Data
public class XcxGetActivityOrdersVO implements Serializable {
    @ApiModelProperty(example = "总记录数")
    private Integer count;
    @ApiModelProperty(example = "订单列表")
    private List<GetActivityOrder> getActivityOrders;

    @Data
    public static class GetActivityOrder implements Serializable {
        @ApiModelProperty(example = "活动名称")
        private String actName;
        @ApiModelProperty(example = "下单者")
        private String orderUserUid;
        @ApiModelProperty(example = "邀请人")
        private String chiefUid;
        @ApiModelProperty(example = "总佣金")
        private String allFee;
        @ApiModelProperty(example = "真实佣金")
        private String realFee;
        @ApiModelProperty(example = "下单者佣金")
        private String orderUserFee;
        @ApiModelProperty(example = "团长佣金")
        private String chiefFee;
        @ApiModelProperty(example = "订单名称")
        private String orderTitle;
        @ApiModelProperty(example = "付款时间")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private LocalDateTime payTime;
        @ApiModelProperty(example = "付款金额")
        private String payPrice;
        @ApiModelProperty(example = "订单状态")
        private String statusDesc;
    }
}
